﻿using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using Utils.SoftReferences;
//using Microsoft.Xna.Framework.Graphics;
//using WcfService1;

namespace GameObjects
{
    [Serializable]
    public class Faction
    {
        public int Id;
        public string Name;
        public bool OrdersIn;
        public string UnitColour;
        public string PointColour;

        [XmlIgnore]
        public List<UnitMoveOrder> Orders;
        [XmlIgnore]
        public List<Hex> DiscoveredHexes;
        [XmlIgnore]
        public List<Hex> ObservedHexes;

        public Faction()
        {
        }

        public Faction(int id, string name, string unitColour, string pointColour)
        {
            Id = id;
            Name = name;
            UnitColour = unitColour;
            PointColour = pointColour;
            Orders = new List<UnitMoveOrder>();
            DiscoveredHexes = new List<Hex>();
            ObservedHexes = new List<Hex>();
        }

        public override string ToString()
        {
            return Name;
        }
    }
}
